package com.app.couponsharelife.ui.main.tribe.couponworkshop

import com.app.couponsharelife.R
import com.app.couponsharelife.base.BaseActivity
import com.app.couponsharelife.utils.AppUtils
import kotlinx.android.synthetic.main.activity_coupon_work_shop.*
/**
 * 券工坊界面
 * */
class CouponWorkShopActivity : BaseActivity() {
    private var quanPrice=""
    private var quanValue=""
    override val viewLayoutId: Int get() = R.layout.activity_coupon_work_shop

    override fun initViews() {
        AppUtils.initImmersionBar(this,true)
        quanPrice=intent.getStringExtra("QuanPrice")
        quanValue=intent.getStringExtra("QuanValue")
        ivBack.setOnClickListener { finish() }
        AppUtils.setWindowStatusBarColor(this,R.color.colorAccent)
        tvCouponTotalDataLeft.text=quanPrice
        tvCouponTotalDataRight.text=quanValue
    }

    override fun onDestroy() {
        super.onDestroy()
        AppUtils.destroyImmersionBar(this)
    }
}
